<style>
    .red {
      color: #f00
    }
</style>

<div class="col-sm-12 mt20">
  <div class="panel panel-default">
    <div class="panel-body">
      <h4 class="col-md-3 control-label">
        参与补贴的企业：<b class="red">{{list.length}}家</b>
      </h4>
      <div class="col-md-2 pull-right">
        <button type="button" class="btn btn-success btn-block" ng-click="addCompany()">添加企业</button>
      </div>
    </div>
  </div>
           
 <div class="panel panel-default">
  <table class="table table-hover table-bordered">
    <thead class="panel panel-heading">
      <tr>
        <th class="col-md-3 text-center">企业名称</th>
        <th class="col-md-2 text-center">补贴上限</th>
        <th class="col-md-2 text-center">已获得补贴</th>
        <th class="col-md-2 text-center">创建时间</th>
        <th class="col-md-2 text-center">操作</th>
      </tr>
    </thead>
    <tbody style="border-bottom: 1px solid #eaeff0">
      <tr ng-repeat="obj in list">
        <td>{{obj.company_name}}（{{obj.company_code}}）</td>
        <td class="text-center" ng-show="obj.uplimit_money!=0">{{obj.uplimit_money / 100 | currency : '￥'}}</td>
        <td class="text-center" ng-show="obj.uplimit_money==0">无上限</td>
        <td class="text-center">{{obj.issued_money / 100 | currency : '￥'}}</td>
        <td class="text-center">{{obj.create_time}}</td>
        <td class="text-center">
          <button type="button" ng-click="setMoney(obj)" class="btn btn-primary btn-xs">修改限额</button>
          <button type="button" ng-click="delete(obj.id, $index)" class="btn btn-danger btn-xs">删除</button>
        </td>
      </tr>
    </tbody>
  </table>
  
 </div>
</div>